.doctor-detail-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.doctor-detail-loading,
.doctor-detail-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 16px;
}

.doctor-detail-container .doctor-detail-navbar {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

/* 吸顶导航 */
.doctor-detail-container .sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding: 12px 16px;
}

.doctor-detail-container .sticky-nav.sticky {
  transform: translateY(0);
}

.doctor-detail-container .sticky-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.doctor-detail-container .sticky-doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.doctor-detail-container .sticky-doctor-details {
  flex: 1;
  min-width: 0;
}

.doctor-detail-container .sticky-doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-detail-container .sticky-doctor-title {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 医生基本信息 */
.doctor-basic-info {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 12px;
}

.doctor-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.doctor-avatar {
  flex-shrink: 0;
}

.doctor-info {
  flex: 1;
  min-width: 0;
}

.doctor-name {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.doctor-title {
  font-size: 14px;
  color: #666;
  margin: 0 0 4px 0;
}

.doctor-hospital {
  font-size: 14px;
  color: #666;
  margin: 0 0 12px 0;
}

.doctor-stats {
  display: flex;
  gap: 16px;
}

.praise-rate {
  font-size: 12px;
  color: #52c41a;
  font-weight: 500;
}

.service-count {
  font-size: 12px;
  color: #666;
}

.doctor-actions {
  flex-shrink: 0;
}

.doctor-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
}

.price-label {
  font-size: 14px;
  color: #666;
}

.price-value {
  font-size: 18px;
  font-weight: 600;
  color: #ff4d4f;
}

.consultation-btn {
  margin-left: auto;
}

/* 信息区块 */
.info-section {
  background-color: #fff;
  margin-bottom: 12px;
  padding: 20px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.section-content {
  color: #666;
  line-height: 1.6;
}

/* 评价统计 */
.comment-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.stat-number.positive {
  color: #52c41a;
}

.stat-number.negative {
  color: #ff4d4f;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

/* 礼物展示 */
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background-color: #fafafa;
}

.gift-image {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gift-info {
  text-align: center;
  width: 100%;
}

.gift-name {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-worth,
.gift-count {
  font-size: 10px;
  color: #666;
  margin-bottom: 2px;
}

.gift-meaning {
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}

/* 评论列表 */
.comment-list {
  --border-top: none;
  --border-bottom: none;
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-info {
  flex: 1;
}

.comment-author {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.comment-time {
  font-size: 12px;
  color: #999;
}

.comment-content {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding-left: 52px;
}


